package com.gopay.common.core.dic.manager.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gopay.common.core.dic.dao.DicTransTypeDAO;
import com.gopay.common.core.dic.manager.DicTransTypeManager;
import com.gopay.common.domain.dic.DicTransType;

/**
 * 交易类型字段表
 * @DicTransTypeManagerImpl.java
 * @author liujy
 * @2013-4-8 下午2:30:44  www.gopay.com.cn Inc.All rights reserved.
 */
@Service("dicTransTypeManager")
public class DicTransTypeManagerImpl implements DicTransTypeManager{
    
    @Resource(name="dicTransTypeDAO")
    private DicTransTypeDAO dicTransTypeDAO;

    @Override
    public DicTransType findByIntTxnCd(String gopayIntTxnCd) {
        return dicTransTypeDAO.findByIntTxnCd(gopayIntTxnCd);
    }

    @Override
    public List<DicTransType> findAllTransType() {
        return dicTransTypeDAO.findAllTransType();
    }
}
